<?php

namespace okapi\views\index;

use Exception;
use okapi\Okapi;
use okapi\OkapiRequest;
use okapi\OkapiRedirectResponse;
use okapi\ParamMissing;
use okapi\InvalidParam;
use okapi\OkapiServiceRunner;
use okapi\OkapiInternalRequest;

class View
{
	public static function call()
	{
		# This is called when someone displays "http://../okapi/" (with no
		# html path at the end). We will redirect to the introduction page.
		
		return new OkapiRedirectResponse($GLOBALS['absolute_server_URI'].
			"okapi/introduction.html");
	}
}
